AwesomeMotive\WPContentImporter2\WXRImporter D

Total Complexity 343
Dependencies 4
Dependents 0
Total lines 2,554
Lines of code 1,523
Logical lines of code 985
Comment lines 610
Methods 47
Properties 17

Methods 47

Method Rating Maintainability Complexity Lines of code
process_post()
D
25
30 171
parse_post_node()
C
33 28 93
import()
B
33 21 105
get_preliminary_information()
B
37 18 77
parse_comment_node()
B
42 17 55
process_comments()
B
40 16 61
process_term()
A
38 13 74
post_process_terms()
A
40 12 66
post_process_posts()
A
38 11 76
process_author()
A
40 11 64
process_attachment()
A
42 12 48
process_term_meta()
A
46 11 39
parse_term_node()
A
42 10 52
post_process_comments()
A
44 8 51
process_post_meta()
A
49 9 31
parse_author_node()
A
50 9 30
process_menu_item_meta()
A
46 8 40
parse_authors()
A
47 8 38
fetch_remote_file()
A
46 7 41
post_process_menu_item()
A
48 7 37
parse_meta_node()
S
55 7 19
post_exists()
S
56 7 18
parse_category_node()
S
56 5 20
import_start()
S
56 5 18
remap_featured_images()
S
58 5 15
term_exists()
S
58 5 15
set_user_mapping()
S
58 5 14
comment_exists()
S
61 4 12
post_process()
S
63 4 11
get_reader()
S
61 3 12
sort_comments_by_id()
S
66 3 9
import_end()
S
62 2 12
__construct()
S
55 1 22
replace_attachment_urls_in_content()
S
63 2 10
is_valid_meta_key()
S
71 2 6
prefill_existing_posts()
S
67 2 7
prefill_existing_comments()
S
65 2 8
set_user_slug_overrides()
S
73 2 5
prefill_existing_terms()
S
62 2 10
log_error()
S
68 2 7
max_attachment_size()
S
79 1 3
bump_request_timeout()
S
83 1 3
cmpr_strlen()
S
79 1 3
set_logger()
S
81 1 3
mark_post_exists()
S
75 1 4
mark_comment_exists()
S
74 1 4
mark_term_exists()
S
74 1 4